import request from '@/utils/request'

// 查询季度店铺销售列表
export function listBiShopSaleQuarter(query) {
  return request({
    url: '/sale/BiShopSaleQuarter/list',
    method: 'get',
    params: query
  })
}
// 查询月度店铺销售列表
export function synData(query) {
  return request({
    url: '/sale/BiShopSaleQuarter/synData',
    method: 'get',
    params: query
  })
}
// 查询季度店铺销售详细
export function getBiShopSaleQuarter(id) {
  return request({
    url: '/sale/BiShopSaleQuarter/' + id,
    method: 'get'
  })
}

// 新增季度店铺销售
export function addBiShopSaleQuarter(data) {
  return request({
    url: '/sale/BiShopSaleQuarter',
    method: 'post',
    data: data
  })
}

// 修改季度店铺销售
export function updateBiShopSaleQuarter(data) {
  return request({
    url: '/sale/BiShopSaleQuarter',
    method: 'put',
    data: data
  })
}

// 删除季度店铺销售
export function delBiShopSaleQuarter(id) {
  return request({
    url: '/sale/BiShopSaleQuarter/' + id,
    method: 'delete'
  })
}
